<?php
/**
 * Created by PhpStorm.
 * User: Phantom
 * Date: 30/07/14
 * Time: 19:48
 * http://www.youtube.com/watch?v=uijrlAtBfnE
 */
?>

<link href="modules/manageruser/inscription.css" rel="stylesheet" type="text/css">
<link href="animation.css" rel="stylesheet" type="text/css">

<div >
    <form method="post" role="form"  ng-controller="inscriptionCtrl">
        <table>
            <tr>
                <td>Login</td>
                <td><input type="text" ng-model="login" name="login" placeholder="Votre login" ng-model="login"></td>
            </tr>
            <tr>
                <td><span style="background-color: red;" id="logError">{{loginRequired}}</span></td>
            </tr>
            <tr>
                <td>Mail</td>
                <td><input type="text" name="mail" placeholder="Votre mail"  ng-model="mail"></td>
            </tr>
            <tr>
                <td><span class="animate-show"  ng-show="mailRequired">{{mailRequired}}</span></td>
            </tr>
            <tr>
                <td>Mot de passe</td>
                <td><input type="password" name="password" placeholder="Votre mot de passe" ng-model="password"></td>
            </tr>
            <tr>
                <td><span class="animate-show"  ng-show="passwordConfRequired">{{passwordConfRequired}}</span></td>
            </tr>
            <tr>
                <td>Confirmation mot de passe</td>
                <td><input type="password" name="passwordConf" placeholder="Votre mot de passe" ng-model="passwordConf"></td>
            </tr>
            <tr>
                <td><span class="animate-show"  ng-show="passwordRequired">{{passwordRequired}}</span></td>
            </tr>
            <tr>
                <td><span class="animate-show" ng-show="error">{{error}}</span></td>
            </tr>
            <tr>
                <td>
                    <button ng-click="saveData()">Valider</button>
                </td>
            </tr>
        </table>
    </form>
    <h1>{{login}}</h1>
</div>
<script type="text/javascript" src="modules/manageruser/inscription.js"></script>
